#ifndef CACHEITEM_H
#define CACHEITEM_H

#include <QObject>
#include <QString>

class CacheItem: public QObject
{
	Q_OBJECT

public:
	CacheItem( QObject * parent = 0 );
	CacheItem( const QString & name, const int id, QObject * parent = 0 );
	CacheItem( const CacheItem & item, QObject * parent = 0 );
	QString name() const { return m_name; }
	int id() const { return m_arrayId; }
	void setName( QString & name ) { m_name = name; }
	void setId( int id ) { m_arrayId = id; }
	CacheItem & operator=( CacheItem const & item );

private:
	QString m_name;
	int m_arrayId;
};

#endif // CACHEITEM_H
